#include "generatorqtexteditoutput.h"

GeneratorQTextEditOutput::GeneratorQTextEditOutput(QPlainTextEdit *qTextEdit) : m_qTextEdit(qTextEdit)
{
}

void GeneratorQTextEditOutput::printOutput(const QString &msg)
{
	if (m_qTextEdit)
		m_qTextEdit->appendPlainText(msg);
}
